package domain.entity.event;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by bowen on 2017-08-17.
 */
@Alias("TunnelEventInfo")
public class TunnelEventInfo implements Serializable {

    private long id;
    private long pid;
    private long eventId;
    private Date createDate;
    private String createUser;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date eventDate;
    private String eventDate_txt;
    private String eventUser;
    private boolean type;
    private String operatorUsers;
    private List<EventOperatorInfo> operatorUserList;
    private String address;
    private String lng;
    private String lat;
    private String note;
    private boolean isRead;
    private String imgs;
    private List<EventImgInfo> imgList;
    private int total;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getPid() {
        return pid;
    }

    public void setPid(long pid) {
        this.pid = pid;
    }

    public long getEventId() {
        return eventId;
    }

    public void setEventId(long eventId) {
        this.eventId = eventId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getEventDate() {
        return eventDate;
    }

    public void setEventDate(Date eventDate) {
        this.eventDate = eventDate;
    }

    public String getEventUser() {
        return eventUser;
    }

    public void setEventUser(String eventUser) {
        this.eventUser = eventUser;
    }

    public boolean isType() {
        return type;
    }

    public void setType(boolean type) {
        this.type = type;
    }

    public String getOperatorUsers() {
        return operatorUsers;
    }

    public void setOperatorUsers(String operatorUsers) {
        this.operatorUsers = operatorUsers;
    }

    public List<EventOperatorInfo> getOperatorUserList() {
        return operatorUserList;
    }

    public void setOperatorUserList(List<EventOperatorInfo> operatorUserList) {
        this.operatorUserList = operatorUserList;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public boolean isRead() {
        return isRead;
    }

    public void setRead(boolean isRead) {
        this.isRead = isRead;
    }

    public List<EventImgInfo> getImgList() {
        return imgList;
    }

    public void setImgList(List<EventImgInfo> imgList) {
        this.imgList = imgList;
    }
    public String getEventDate_txt() {
        return eventDate_txt;
    }

    public void setEventDate_txt(String eventDate_txt) {
        this.eventDate_txt = eventDate_txt;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
